package com.quartet.modules.vehicle.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.quartet.modules.vehicle.dto.TVehicleOwnerInfoAddRequestDto;
import com.quartet.modules.vehicle.entity.TVehicleOwnerInfo;

/**
 * 车辆所有人信息表(TVehicleOwnerInfo)表服务接口
 *
 * @author makejava
 * @since 2021-05-04 17:26:35
 */
public interface TVehicleOwnerInfoService extends IService<TVehicleOwnerInfo> {

    /**
     * 添加车辆所有人信息
     * @param tVehicleOwnerInfoAddRequestDto
     */
    void addVehicleOwnerInfo(TVehicleOwnerInfoAddRequestDto tVehicleOwnerInfoAddRequestDto);

    /**
     * 功能描述: 修改车辆所有人信息
     * @author huipanxing huipanxing@chinasofti.com
     * @date 2021/5/13 16:11
     * @param tVehicleOwnerInfoAddRequestDto
     * @return void
     */
    void updateVehicleOwnerInfo(TVehicleOwnerInfoAddRequestDto tVehicleOwnerInfoAddRequestDto);

    /**
     * 根据车辆编码删除车辆所有人信息
     * @param vehicleCode
     */
    void deleteVehicleOwnerInfo(String vehicleCode);

    /**
     * 根据车辆编码查询车辆所有人信息
     * @param vehicleCode
     * @return
     */
    TVehicleOwnerInfoAddRequestDto selectVehicleOwnerInfo(String vehicleCode);
}
